<%--
  Created by IntelliJ IDEA.
  User: cnprinces
  Date: 13-1-23
  Time: 上午10:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include.inc.jsp" %>


<%--/marketprocess/appointment/index.jspsss</h2>
--%>

<form action="/order/order!addOrder" method="post"
      class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone)">
    <div class="pageContent">
        <div class="pageFormContent" layoutH="100">
            <fieldset>
                <legend>基本信息</legend>
                <dl>
                    <dt>流水单号:</dt>
                    <dd><input name="orderInfo.orderNo" type="text" value="${seriaId}" readonly="true"/></dd>
                </dl>
                <dl>
                    <dt>订单类型:</dt>
                    <dd>
                        <select class="combox" name="orderInfo.orderType">
                            <option value="店铺">店铺</option>
                            <option value="预约">预约</option>
                            <option value="网购">网购</option>
                        </select>
                    </dd>
                </dl>
                <%--<dl>
                    <dt>分店:</dt>
                    <dd>
                        <select class="combox" name="orderInfo.orderSource">
                            <option value="店铺">店铺</option>
                            <option value="预约">预约</option>
                            <option value="网购">网购</option>
                        </select>
                    </dd>
                </dl>--%>


                <dl>
                    <dt>应收款：</dt>
                    <dd><input class="number" name="orderInfo.orderPrice" type="text" value=""/></dd>
                </dl>
                <dl>
                    <dt>已收款：</dt>
                    <dd><input name="orderInfo.orderRealPrice" type="text" value="0" class="number"/></dd>
                </dl>

                <dl>
                    <dt>录单人:</dt>
                    <dd>${loginedUser.ename}</dd>
                </dl>
            </fieldset>
            <fieldset>
                <legend>订单信息</legend>
                <dl>
                    <dt>套系类型:</dt>
                    <dd>
                        <select class="combox" name="orderInfo.packageId">
                            <option value="1">88888888八发超神套餐</option>
                            <option value="2">88888五连杀</option>
                        </select>
                    </dd>
                </dl>
                <dl>
                    <dt>套系金额:</dt>
                    <dd><input name="field2" type="text" alt="88888888"/></dd>
                </dl>
                <dl>
                    <dt>入册张数:</dt>
                    <dd><input name="orderInfo.photoCount" type="text" value="0" class="digits"/></dd>
                </dl>
                <dl>
                    <dt>入盘张数:</dt>
                    <dd><input name="orderInfo.cdCount" type="text" value="0" class="digits"/></dd>
                </dl>
                <dl class="nowrap">
                    <dt>拍照时间::</dt>
                    <dd><%--<input class="required" name="orderInfo.sheYingDate" type="text"/>--%>
                        <input type="text" name="orderInfo.sheYingDate" class="date" dateFmt="yyyy-MM-dd HH:mm:ss"
                               readonly="true"/>
                        <a class="inputDateButton" href="javascript:;">选择</a>
                    </dd>
                </dl>
                <dl class="nowrap">
                    <dt>备注：</dt>
                    <dd><textarea name="orderInfo.pDescribe" cols="82" rows="5" title="对化妆以及拍摄有啥特殊的要求"></textarea></dd>
                </dl>
            </fieldset>


            <fieldset>
                <legend>流程指派</legend>
                <dl>
                    <dt>化妆师:</dt>
                    <dd>
                        <input name="orderInfo.huaZhuangShiId" value="" type="hidden"/>
                        <input class="required" name="orderInfo.huaZhuangShiName" type="text" readonly/>
                        <a class="btnLook" href="/management!treeLookup?name=huaZhuangShiName&id=huaZhuangShiId"
                           lookupGroup="orderInfo">查找带回</a>
                    </dd>
                </dl>
                <dl>
                    <dt>摄影师:</dt>
                    <dd>
                        <input name="orderInfo.sheYingShiId" value="" type="hidden"/>
                        <input class="required" name="orderInfo.sheYingShiName" type="text" readonly/>
                        <a class="btnLook" href="/management!treeLookup?name=sheYingShiName&id=sheYingShiId"
                           lookupGroup="orderInfo">查找带回</a>
                    </dd>
                </dl>
            </fieldset>
            <div class="formBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">保存</button>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="button">
                            <div class="buttonContent">
                                <button class="close" type="button">关闭</button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
</form>

<%-- <div class="divider"></div>
<h3 class="contentTitle">主从结构</h3>--%>

<div class="tabs">
    <div class="tabsHeader">
        <div class="tabsHeaderContent">
            <ul>
                <li class="selected"><a href="javascript:void(0)"><span>本套餐明细</span></a></li>
                <li><a href="javascript:void(0)"><span>联系人信息</span></a></li>
                <li><a href="javascript:void(0)"><span>增加服务</span></a></li>
                <li><a href="javascript:void(0)"><span>流程指派</span></a></li>
            </ul>
        </div>
    </div>
    <div class="tabsContent" style="height: 250px;">
        <div>
            <table class="list nowrap itemDetail" addButton="新建从表1条目123" width="100%">
                <thead>
                <tr>
                    <th type="text" name="items[#index#].itemString" size="12" fieldClass="required"
                        fieldAttrs="{remote:'validate_remote.html', maxlength:10}">从字符串1
                    </th>
                    <th type="text" name="items[#index#].itemInt" defaultVal="#index#" size="12"
                        fieldClass="digits">
                        从整数
                    </th>
                    <th type="text" name="items[#index#].itemFloat" defaultVal="0.8" size="12"
                        fieldClass="number">从浮点
                    </th>
                    <th type="date" name="items[#index#].itemDate" defaultVal="2011-12-28" size="12">从日期
                    </th>
                    <th type="date" format="yyyy-MM-dd HH:mm:ss" name="items[#index#].itemDataTime"
                        size="16">从日期时间
                    </th>
                    <th type="lookup" name="items[#index#].org.orgName" lookupGroup="items[#index#].org"
                        lookupUrl="demo/database/dwzOrgLookup.html"
                        suggestUrl="demo/database/db_lookupSuggest.html"
                        suggestFields="orgName" postField="keywords" size="12" fieldClass="required">部门名称
                    </th>
                    <th type="enum" name="items[#index#].itemEnum" enumUrl="demo/database/db_select.html"
                        size="12">
                        从枚举
                    </th>
                    <th type="attach" name="items[#index#].attachment.fileName"
                        lookupGroup="items[#index#].attachment"
                        lookupUrl="demo/database/db_attachmentLookup.html" size="12">从附件
                    </th>
                    <th type="del" width="60">操作</th>
                </tr>
                </thead>
                <tbody></tbody>
            </table>
        </div>

        <div>
            联系人信息
        </div>

        <!-- start-->
        <div>
            <div class="pageContent">
                <div class="panelBar">
                    <ul class="toolBar">
                        <li><a class="add" href="/management!toAdd" target="dialog"
                               title="用户添加"><span>添加</span></a>
                        </li>
                        <li><a class="delete" href="/management!deleteUser?user.id={sid_user}"
                               target="ajaxTodo"
                               title="确定要删除吗?"><span>删除</span></a></li>
                        <li><a class="edit" href="/management!toAdd?user.id={sid_user}" target="dialog"
                               title="用户修改"
                               rel="userNav"><span>修改</span></a></li>
                        <li class="line">line</li>
                    </ul>
                </div>
                <table class="table" width="100%" layoutH="138">
                    <thead>
                    <tr>
                        <th width="20"></th>
                        <th width="100">员工姓名</th>
                        <th width="100">员工账号</th>
                        <th width="50">性别</th>
                        <th width="100">联系电话</th>
                        <th width="80">qq号码</th>
                        <th width="80">邮件</th>
                        <th width="auto">住址</th>
                        <th width="80">岗位名称</th>
                        <th width="100">身份证号码</th>
                        <th width="80">入职时间</th>
                        <th width="80">状态</th>
                    </tr>
                    </thead>
                    <tbody>

                    <c:forEach items="${list}" var="user" varStatus="index">
                        <tr target="sid_user" rel="${user.id}">
                            <td>${index.index+1}</td>
                            <td>${user.ename}</td>
                            <td>${user.username}</td>
                            <td>${user.sex}</td>
                            <td>${user.phone}</td>
                            <td>${user.qq}</td>
                            <td>${user.email}</td>
                            <td>${user.address}</td>
                            <td>${user.positionName}</td>
                            <td>${user.idCard}</td>
                            <td>${user.inductionDate}</td>
                            <td>
                                <c:choose>
                                    <c:when test="${user.status==0}">
                                        在职
                                    </c:when>
                                    <c:otherwise>
                                        离职
                                    </c:otherwise>
                                </c:choose>
                            </td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
                <div class="panelBar">
                    <div class="pages">
                        <span>显示</span>
                        <select class="combox" name="numPerPage"
                                onchange="navTabPageBreak({numPerPage:this.value})">
                            <option value="20">20</option>
                            <option value="50">50</option>
                            <option value="100">100</option>
                            <option value="200">200</option>
                        </select>
                        <span>条，共${totalCount}条</span>
                    </div>

                    <div class="pagination" targetType="navTab" totalCount="200" numPerPage="20"
                         pageNumShown="10"
                         currentPage="1"></div>

                </div>
            </div>
        </div>
        <!-- end-->


        <div>
            联系人信息
        </div>
    </div>
    <div class="tabsFooter">
        <div class="tabsFooterContent"></div>
    </div>
</div>

</div>
<%-- <div class="formBar">
    <ul>
        <li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
        <li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
    </ul>
</div>--%>
</div>

